package com.citymanage.demo.service;

import com.citymanage.demo.mapper.UserMapper;
import com.citymanage.demo.po.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestParam;

import javax.annotation.Resource;

@Service
public class UserService {
   @Autowired
    private UserMapper userMapper;


    public User getInfo(String name, String password) {
        return userMapper.getInfo(name,password);
    }
}
